class Program
{
static void Main(string[] args)
{
aa a = new aa();
a.ff = 19;
}
}
public class aa
{
int f1;
public int ff
{
set
{
System.Console.WriteLine("in set " + value);
f1 = value;
}
}
}
what is the accurate solution of its?
Anonymous User
20-May-2011Hi..
Are you sure that these set of codes give exception becuse I had tested it and it successfully execute.